<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>编辑呼叫信息</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<script language="JavaScript" type="text/javascript" src="css/editor/wysiwyg.js"></script>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
  <jsp:include page="header.jsp"></jsp:include>
  <div  style="width: 800px;margin: 0 auto;border-style: solid;border-width: 1px;margin-bottom: 2px;">
  	<div class="navigation"  align="left"><table><tr class="navigation" ><td>你所在位置:<a href="gongxu/index.jsp">首页</a>><a href="gongxu/callAll.jsp">供需信息</a>>编辑呼叫信息</td></tr></table></div>
   <div style="width: 100px;float: left;border-style: solid;border-width: 1px;">
    		<table width="100%">
    			<tr height="40px;" align="center" ><td ><a href="gongxu/usr_getUserInfoById.shtml">基本信息</a></td></tr>
    			<tr height="40px;" align="center" ><td ><a href="gongxu/usr_getUserInfoById.shtml">修改密码</a></td></tr>
    			<tr height="40px;" align="center"><td style="background-color:#66FF33;"><a href="gongxu/gx_callList.shtml">我的呼叫</a></td></tr>
    			<tr height="40px;" align="center"><td><a href="gongxu/usr_getUserInfoById.shtml">呼叫收藏</a></td></tr>
    			<tr height="40px;" align="center"><td><a href="gongxu/usr_getUserInfoById.shtml">我的信息</a></td></tr>
    		</table>
  </div>	
  <div style="width:698px; float: right;border-style: solid;border-width: 1px;">
  <s:form action="gx_upCall" method="post" >
  <table>
  	<h2>编辑呼叫信息</h2>
  	<s:hidden name="callInfo.callId"></s:hidden>
  	<s:hidden name="callInfo.userInfo.userInfoId" value="%{#session.userInfo.userInfoId}"></s:hidden>
  	<tr><td colspan="2">
  	<s:if test="callInfo.callType==1">
  		<s:radio name="callInfo.callType" list="%{#{'0':'供应信息','1':'需求信息'}}" value="1" ></s:radio>
  	</s:if>
  	<s:else>
  		<s:radio name="callInfo.callType" list="%{#{'0':'供应信息','1':'需求信息'}}" value="0"></s:radio>
  	</s:else>	
  	</td></tr>
  	<tr>
  		<td>呼叫类别</td>
  		<td>
  			<s:select name="callInfo.callSort.sortId" list="callSortList" listKey="sortId" listValue="callSortName" headerKey="0" headerValue="..请选择.." >
  			</s:select>
  		</td>
  	</tr>
  	<tr>
  		<td>呼叫编号</td>
  		<td><s:textfield name="callInfo.callNo"></s:textfield></td>
  	</tr>
  	<tr>
  		<td>呼叫名称</td>
  		<td><s:textfield  name="callInfo.callName"></s:textfield></td>
  	</tr>	        
  	<tr>
  		<td>呼叫描述</td>
  		<td><s:textarea name="callInfo.callDis"></s:textarea>
  		<script language="javascript1.2">
			 generate_wysiwyg('callInfo.callDis');
		</script>
  		</td>
  	</tr>
  	<tr>
  		<td>到期时间</td>
  		<td>
  		<s:head theme="ajax"/>
	  	<s:datetimepicker name="callInfo.dueTime" value="today" toggleType="explode" disabled="true" 
		  	startDate="%{2008-7-8}"  displayWeeks="4">
		  	</s:datetimepicker>
	  	</td>
  	</tr>
  	<tr><td colspan="2"><s:submit label="添加"></s:submit></td></tr>
	</table>
  </s:form>
  </div>
 </div>
 <jsp:include page="bottom.jsp"></jsp:include>
  </body>
</html>
